<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <title>句容机关工委网站管理后台</title>
        <link rel="stylesheet" href="../style/reset.css" type="text/css" media="screen" />
        <link rel="stylesheet" href="../style/style.css" type="text/css" media="screen" />
        <link rel="stylesheet" href="../style/invalid.css" type="text/css" media="screen" />
        <link rel="stylesheet" href="../style/msgbox.css" type="text/css" />
        <link rel="stylesheet" href="../js-plugin/uploadify/uploadify.css" type="text/css" media="screen" />
        <link rel="stylesheet" href="../js-plugin/jquery-ui/jquery-ui.css" type="text/css" />
        <script type="text/javascript" src="../js-plugin/jquery-1.6.min.js">
        </script>
        <script type="text/javascript" src="../js-plugin/jquery-ui/jquery-ui.min.js">
        </script>
        <script type="text/javascript" src="../js-plugin/simpla.jquery.configuration.js">
        </script>
        <script type="text/javascript" src="../js-plugin/jquery.validate.min.js">
        </script>
        <script type="text/javascript" src="../js-plugin/additional-methods.min.js">
        </script>
        <script type="text/javascript" src="../js-plugin/uploadify/jquery.uploadify.v2.1.4.min.js">
        </script>
        <script type="text/javascript" src="../js-plugin/uploadify/swfobject.js">
        </script>
        <script src="../js-plugin/jquery.easy-confirm-dialog.js">
        </script>
        <script type="text/javascript" src="../js-plugin/jquery.form.js">
        </script>
        <script type="text/javascript" src="../js-plugin/jquery.template.js">
        </script>
        <script src="../js-plugin/tpl.js">
        </script>
        <script src="../js/master/VideoEdit.js">
        </script>
        <style>
            .button_fix {
                margin: -2px 0 0 10px;
            }
            
            .main_photo_div {
                text-align: center
            }
            .main_photo {
                background: url(/images/manage/none_video.png) no-repeat;
                height: 247px;
			    width: 292px;
			    margin: auto auto 10px;
            }
            .textarea {
                height: 107px;
            }
            form {
                float:left;
				width:70%;
            }
            form .error {
                background: none;
                color: #FF3300;
            }
        </style>
    </head>
    <body>
        <div class="loadingbox clearfix">
        </div>
        <div id="main-content">
            <div class="content-box">
                <div class="content-box-header">
                    <h3>网站视频管理</h3>
                    <div class="bulk-actions align-right20">
                        <a class="button button_fix" href="VideoList">返回视频列表</a>
                        <a class="button button_fix resetFrom" title="您确定重置表单么？" href="#">继续添加</a>
                        <strong></strong>
                        <a class="button button_fix saveBtn" href="#">保存视频</a>
                    </div>
                    <div class="clear">
                    </div>
                </div>
                <div class="content-box-content">
                    <div class="tab-content default-tab">
                        <div class="notification attention png_bg post-state" style="display:none">
                            <a href="#" class="close"><img src="/images/manage/icons/cross_grey_small.png" title="Close this notification" alt="close" /></a>
                            <div id="errormsg">错误信息</div>
                        </div>
                        <div>
                            <form id="videoEditor" action="/action/master/VideoSave" method="post">
								<input type="hidden" id="id" name="id" value="${(video.id?c)!}" />
								<input type="hidden" id="mainphoto" name="mainphoto" value="${video.mainphoto?html}" />
								<input type="hidden" id="hidden_isshow" value="${(video.isshow?c)!}" />
                                <p>
                                    <label class="inline">视频名称</label>
                                    <input class="text-input large-input" type="text" id="title" name="title" value="${video.title?html}" />
                                </p>
								<p>
                                    <label class="inline">视频地址(完整URL地址)</label>
                                    <input class="text-input large-input" type="text" id="serpath" name="serpath" value="${video.serpath?html}" />
                                </p>
								<p>
                                    <label class="inline">发布时间</label>
                                    <input class="text-input medium-input2" type="text" id="postdate" name="postdate" value="${video.postdate?date}" />
                                    <label class="inline">　是否显示</label>
									<select class="medium-input2" id="isshow" name="isshow">
										<option value="1">显示</option>
										<option value="0">不显示</option>
                                    </select>
                                </p>
								<p>
                                    <label class="inline">视频说明</label>
									<textarea class="text-input textarea" id="content" name="content">${video.content?html}</textarea>
                                </p>
                            </form>
							<div class="content-box column-right26">
                                <div class="content-box-header">
                                    <h3>视频封面</h3>
                                </div>
                                <div class="content-box-content">
                                    <div class="tab-content default-tab main_photo_div">
                                        <img src="/images/manage/blank.gif" class="main_photo" />
                                    	<input id="images_file" name="file_upload" type="file" style="display:none;"/>
                                    </div>
									<div id="status-message">
		                            </div>
		                            <div id="custom-queue">
		                            </div>
                                    <div class="clear">
                                    </div>
                                </div>
                            </div>
							<input type="hidden" id="identifies" value="${session.id}" />
                            <div class="clear"></div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </body>
</html>
